$OpenBSD: patch-cups_Makefile,v 1.16 2016/09/19 09:16:51 ajacoutot Exp $
--- cups/Makefile.orig	Wed Sep 14 01:39:47 2016
+++ cups/Makefile	Sat Sep 17 15:26:03 2016
@@ -308,12 +308,10 @@ uninstall:
 # libcups.so.2
 #
 
-libcups.so.2:	$(LIBOBJS)
+libcups.so.${LIBcups_VERSION}:	$(LIBOBJS)
 	echo Linking $@...
 	$(DSO) $(ARCHFLAGS) $(DSOFLAGS) -o $@ $(LIBOBJS) $(LIBGSSAPI) \
 		$(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
-	$(RM) `basename $@ .2`
-	$(LN) $@ `basename $@ .2`
 
 
 #
